// This code is generated automatically by Exentials SnwConnector
namespace Exentials.Snw.Structures
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using Exentials.Snw;
    using Exentials.Snw.SnwConnector;
    using Exentials.Snw.Functions;
    using Exentials.Snw.Structures;
    
    
    [Exentials.Snw.SnwConnector.SnwStructureAttribute("BAPIMEDCM_ALLVERSIONS")]
    public sealed class BapimedcmAllversions : Exentials.Snw.SnwConnector.SnwStructure
    {
        
        public BapimedcmAllversions(Exentials.Snw.SnwConnector.SnwStructure structure) : 
                base(structure)
        {
        }
        
        public string DocType
        {
            get
            {
                return this.GetParameter<string>("DOC_TYPE", 1, 0);
            }
            set
            {
                this.SetParameter("DOC_TYPE", value, 1, 0);
            }
        }
        
        public string DocNumber
        {
            get
            {
                return this.GetParameter<string>("DOC_NUMBER", 10, 0);
            }
            set
            {
                this.SetParameter("DOC_NUMBER", value, 10, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwNumeric ItemNumber
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwNumeric>("ITEM_NUMBER", 5, 0);
            }
            set
            {
                this.SetParameter("ITEM_NUMBER", value, 5, 0);
            }
        }
        
        public string Version
        {
            get
            {
                return this.GetParameter<string>("VERSION", 8, 0);
            }
            set
            {
                this.SetParameter("VERSION", value, 8, 0);
            }
        }
        
        public string CreatedBy
        {
            get
            {
                return this.GetParameter<string>("CREATED_BY", 12, 0);
            }
            set
            {
                this.SetParameter("CREATED_BY", value, 12, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate CrOn
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("CR_ON", 8, 0);
            }
            set
            {
                this.SetParameter("CR_ON", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwTime RecTime
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwTime>("REC_TIME", 6, 0);
            }
            set
            {
                this.SetParameter("REC_TIME", value, 6, 0);
            }
        }
        
        public string ReleasedBy
        {
            get
            {
                return this.GetParameter<string>("RELEASED_BY", 12, 0);
            }
            set
            {
                this.SetParameter("RELEASED_BY", value, 12, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate ReleaseDate
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("RELEASE_DATE", 8, 0);
            }
            set
            {
                this.SetParameter("RELEASE_DATE", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwTime ReleaseTime
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwTime>("RELEASE_TIME", 6, 0);
            }
            set
            {
                this.SetParameter("RELEASE_TIME", value, 6, 0);
            }
        }
        
        public string ReleasebyPur
        {
            get
            {
                return this.GetParameter<string>("RELEASEBY_PUR", 12, 0);
            }
            set
            {
                this.SetParameter("RELEASEBY_PUR", value, 12, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate ReleasedatePur
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("RELEASEDATE_PUR", 8, 0);
            }
            set
            {
                this.SetParameter("RELEASEDATE_PUR", value, 8, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwTime ReleasetimePur
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwTime>("RELEASETIME_PUR", 6, 0);
            }
            set
            {
                this.SetParameter("RELEASETIME_PUR", value, 6, 0);
            }
        }
        
        public string Reason
        {
            get
            {
                return this.GetParameter<string>("REASON", 4, 0);
            }
            set
            {
                this.SetParameter("REASON", value, 4, 0);
            }
        }
        
        public string Description
        {
            get
            {
                return this.GetParameter<string>("DESCRIPTION", 60, 0);
            }
            set
            {
                this.SetParameter("DESCRIPTION", value, 60, 0);
            }
        }
        
        public string ReqByExt
        {
            get
            {
                return this.GetParameter<string>("REQ_BY_EXT", 20, 0);
            }
            set
            {
                this.SetParameter("REQ_BY_EXT", value, 20, 0);
            }
        }
        
        public string ReqBy
        {
            get
            {
                return this.GetParameter<string>("REQ_BY", 12, 0);
            }
            set
            {
                this.SetParameter("REQ_BY", value, 12, 0);
            }
        }
        
        public double NetValue
        {
            get
            {
                return this.GetParameter<double>("NET_VALUE", 7, 2);
            }
            set
            {
                this.SetParameter("NET_VALUE", value, 7, 2);
            }
        }
        
        public double ValueChanged
        {
            get
            {
                return this.GetParameter<double>("VALUE_CHANGED", 7, 2);
            }
            set
            {
                this.SetParameter("VALUE_CHANGED", value, 7, 2);
            }
        }
        
        public string Currency
        {
            get
            {
                return this.GetParameter<string>("CURRENCY", 5, 0);
            }
            set
            {
                this.SetParameter("CURRENCY", value, 5, 0);
            }
        }
        
        public string CurrencyIso
        {
            get
            {
                return this.GetParameter<string>("CURRENCY_ISO", 3, 0);
            }
            set
            {
                this.SetParameter("CURRENCY_ISO", value, 3, 0);
            }
        }
        
        public Exentials.Snw.SnwConnector.SnwDate PostDate
        {
            get
            {
                return this.GetParameter<Exentials.Snw.SnwConnector.SnwDate>("POST_DATE", 8, 0);
            }
            set
            {
                this.SetParameter("POST_DATE", value, 8, 0);
            }
        }
        
        public string Completed
        {
            get
            {
                return this.GetParameter<string>("COMPLETED", 1, 0);
            }
            set
            {
                this.SetParameter("COMPLETED", value, 1, 0);
            }
        }
        
        public string Status
        {
            get
            {
                return this.GetParameter<string>("STATUS", 1, 0);
            }
            set
            {
                this.SetParameter("STATUS", value, 1, 0);
            }
        }
        
        public string DeleteInd
        {
            get
            {
                return this.GetParameter<string>("DELETE_IND", 1, 0);
            }
            set
            {
                this.SetParameter("DELETE_IND", value, 1, 0);
            }
        }
        
        public string StatusDocOld
        {
            get
            {
                return this.GetParameter<string>("STATUS_DOC_OLD", 2, 0);
            }
            set
            {
                this.SetParameter("STATUS_DOC_OLD", value, 2, 0);
            }
        }
    }
}
